//
//  OPMLViewController.h
//  RssReader
//
//  Created by 旺财 on 10-10-31.
//  Copyright (c) 2010年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XMLSupport/GDataXMLNode.h"
#import "OMPLFeed.h"
#import "Common.h"
#import "Config.h"



@interface OPMLViewController : UITableViewController<UINavigationControllerDelegate> {
    //opml根
	GDataXMLElement *rootNode;
	//旺财推荐数
	NSInteger wcCount;
	NSMutableArray *list;
	
}
//内容数组 
@property (nonatomic, retain) NSMutableArray *list;

@property (nonatomic) NSUInteger vType,notreadcount;
@property (nonatomic, retain) NSString *url;
@property (nonatomic,retain) NSString *md5filename;
@property (nonatomic,retain) NSString *rssurl;
@property (nonatomic,retain) NSString *isback;
@property (nonatomic) NSInteger currow;
@property (nonatomic) NSInteger wcCount,myLoveCount;


- (GDataXMLElement *)getrootNode;
- (void)setrootNode:(GDataXMLElement*)root;
- (void)showLoading:(BOOL)show ;
- (IBAction)about:(id)sender;
-(UIButton *) makeDetailDisclosureButton:(BOOL)ismylove ;

- (IBAction)refresh: (id)sender;
- (void)backrefresh;
//获取网络内容
- (void) getOpmlOrRss:(BOOL)force;
//获取下一个页面
- (void)getNextId:(NSInteger)row title:(NSString *)str;

@end